// PersistenceManagerFactory.cpp: implementation of the PersistenceManagerFactory class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "PersistenceManagerFactory.h"
#include "PersistRegBase.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

namespace PDMS
{
	namespace PDMSDBIF
	{
		IMPLEMENT_SINGLETON( PersistenceManagerFactory );

		PersistenceManagerFactory::PersistenceManagerFactory()
		{
			
		}
		
		PersistenceManagerFactory::~PersistenceManagerFactory()
		{
			
		}

		PersistenceManagerIF* PersistenceManagerFactory::GetPersistenceManager()
		{
			return GET_REGISTER( PersistRegBase, VersionOne );
		}
	}
}
